package com.iflytek.crvoice2txt.present;

import com.iflytek.crvoice2txt.entity.RecorderEntity;

import java.util.List;

public interface RecoderSignPresent {

    interface OnVoiceDictationFinished {

        void doErrroInit(int errorcode);

        void showToast(String str);

        void dicationFinished(RecorderEntity recorderEntity);

        void saveTextToDbFinished(Boolean b);

        void countDown(int secend);

        void onQueryAllAsyn(List<RecorderEntity> list);

        void onAudioPlayFinished();

    }

    void startVoiceDictation();

    void stopVoiceDictation();

    void cancelVoiceDictation();

    void onResume();

    void onPause();

    void onDestroy();

    String getEtText();

    void saveText(RecorderEntity recorderEntity);

    void startPlayAudio(String path);

    void stopPlayAudio();

    void getSaveList();

}
